summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-07-31 21:28:24 +0200
committerGitHub <noreply@github.com>2023-07-31 21:28:24 +0200
commit083fb8a15fa7949d696072f286f8322fe7e80639 (patch)
tree2ccdf7226a3748dd3bf2093e62829743958df9c7
parentMerge pull request #11169 from GPUCode/desc-stuff (diff)
parentFix AudioRendererParameterInternal's size (diff)
downloadyuzu-083fb8a15fa7949d696072f286f8322fe7e80639.tar
yuzu-083fb8a15fa7949d696072f286f8322fe7e80639.tar.gz
yuzu-083fb8a15fa7949d696072f286f8322fe7e80639.tar.bz2
yuzu-083fb8a15fa7949d696072f286f8322fe7e80639.tar.lz
yuzu-083fb8a15fa7949d696072f286f8322fe7e80639.tar.xz
yuzu-083fb8a15fa7949d696072f286f8322fe7e80639.tar.zst
yuzu-083fb8a15fa7949d696072f286f8322fe7e80639.zip
-rw-r--r--src/audio_core/common/audio_renderer_parameter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/common/audio_renderer_parameter.h b/src/audio_core/common/audio_renderer_parameter.h
index 2f62c383b..8c7892bcf 100644
--- a/src/audio_core/common/audio_renderer_parameter.h
+++ b/src/audio_core/common/audio_renderer_parameter.h
@@ -32,16 +32,16 @@ struct AudioRendererParameterInternal {
/* 0x14 */ u32 sinks;
/* 0x18 */ u32 effects;
/* 0x1C */ u32 perf_frames;
- /* 0x20 */ u16 voice_drop_enabled;
+ /* 0x20 */ u8 voice_drop_enabled;
+ /* 0x21 */ u8 unk_21;
/* 0x22 */ u8 rendering_device;
/* 0x23 */ ExecutionMode execution_mode;
/* 0x24 */ u32 splitter_infos;
/* 0x28 */ s32 splitter_destinations;
/* 0x2C */ u32 external_context_size;
/* 0x30 */ u32 revision;
- /* 0x34 */ char unk34[0x4];
};
-static_assert(sizeof(AudioRendererParameterInternal) == 0x38,
+static_assert(sizeof(AudioRendererParameterInternal) == 0x34,
"AudioRendererParameterInternal has the wrong size!");
/**